package com.book.book.mapper;

import com.book.book.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;


@Mapper
public interface userInfoMapper {
@Select("SELECT id, user_name,`password`, delete_flag, create_time,update_time from user_info WHERE user_name=#{name}")
    UserInfo ByName(@Param("name") String name);
}
